package com.pattern.design.designpattern.Bridge;

import com.pattern.design.designpattern.MainActivity;

/**
 * author:harisucici on 2018/10/12 14:40
 * email:harisucici@gmail.com
 * name:
 * todo:
 */
public class SmallCoffee extends Coffee {
    private CoffeeAttr coffeeAttr;

    /**
     * Instantiates a new Small coffee.
     *
     * @param c the c
     */
    public SmallCoffee(CoffeeAttr c) {
        super(c);
        this.coffeeAttr = c;
    }

    @Override
    public void makeCoffee() {
        MainActivity.systemOut("small:"+coffeeAttr);
    }
}
